package com.levi.mapper;

import com.levi.pojo.SysRole;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author levi
 * @since 2021-06-21
 */
@Repository
public interface SysRoleMapper extends BaseMapper<SysRole> {

    public List<SysRole> listRoleByUserId(@Param("userId") Integer userId);


}
